﻿<UserControl x:Class="ReadGifBySL3.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:custom="clr-namespace:GifImageLib;assembly=GifImageLib"    
    Width="800" Height="300">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.20*"/>
            <RowDefinition Height="0.80*"/>
        </Grid.RowDefinitions>
        <custom:GifImage x:Name="ucGif" Grid.Row="1" Margin="0,0,0,0"/>
        <TextBox x:Name="tbxgifurl" Margin="68,25,395,8" Text="http://silverlightchina.com/img/giflib/test.gif" TextWrapping="Wrap"/>
        <TextBlock HorizontalAlignment="Left" Margin="10,29,0,16" Width="45" Text="gif地址:"></TextBlock>
        <Button x:Name="btnread" HorizontalAlignment="Right" Margin="0,25,322,8" Width="69" Content="读取" Click="btnread_Click"/>
    </Grid>
</UserControl>
